package com.group.seckill.service;

import com.group.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * @author lins
 * @date 2021/11/15 8:56
 */
public interface SeckillService {
    void uploadSeckillSession();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuInfoBySkuId(Long skuId);

    String seckill(String killId, String key, Integer num);

}
